configure access-list rule-compression port-counters

configure access-list rule-compression port-counters [shared | dedicated]

Description

Switches between ACL configuration modes.

Syntax Description

shared Sharing is “on” for counter rules.
dedicated Sharing is “off” for counter rules.

Default

Dedicated.

Usage Guidelines

Use this command to switch between two ACL configuration modes. In the first mode, “port-counters shared”, similar port-based ACL rules with counters are allowed to share the same hardware entry. This uses less space but provides an inaccurate counter value. In the second mode, “port-counters dedicated”, similar port-based ACL rules with counters are not allowed to share the same hardware entry, thereby consuming more entries but providing a precise count.

Only ACLs that are entered after this command is entered are affected. The command does not affect any ACLs that are already configured.

To configure all ACLs in shared mode, configure access-list rule-compression port-counters shared must be entered before any ACLs are configured or have been saved in the configuration when a switch is booted.

This is a global setting for the switch; that is, the option does not support setting some ACL rules with shared counters and some with dedicated counters.

To view the results of the configuration use the show access-list configuration command.

Example

The following command configures ACL rules with counters to share the same hardware entry:

configure access-list rule-compression port-counters shared

History

This command was first available in ExtremeXOS 12.3.

Platform Availability

This command is available on all Universal switches supported in this document.